@charset "utf-8";

/* CSS Document */
body {
  font: 12px / 1.5 "平方字体", "微软雅黑", sans-serif;
}

html,
body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
object,
code,
em,
span,
var,
legend,
button,
input,
textarea,
th,
td,
a,
img,
header,
footer,
nav,
aside,
audio,
datalist,
section {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

/*清除内外边距*/
/* h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 100%;
} */

/*设置默认字体*/
:focus {
  outline: 0;
}

ul,
ol,
ul li,
ol li {
  list-style: none;
}

/*重置列表*/
address,
caption,
cite,
em,
code,
dfn,
th,
var {
  font-style: normal;
  font-weight: normal;
}

form label {
  cursor: pointer;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
}

textarea {
  resize: none
}

input {
  vertical-align: middle;
}

img {
  border: 0;
}

/*重置图片元素*/
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*重置表格*/
.l {
  float: left;
}

.r {
  float: right;
}

button,
input[type="reset"],
input[type="button"],
input[type="submit"] {
  line-height: normal !important;
}

a {
  text-decoration: none;
}

a {
  color: #666;
}

a:hover {
  text-decoration: underline;
}

input {
  _filter: chroma(color=#000000);
}

/*--清除浮动
------------------------------------------------------------------------------------------*/
.clearfix:after {
  clear: both;
  content: ".";
  display: block;
  font-size: 0;
  height: 0;
  visibility: hidden;
}

.clearfix:after {
  _zoom: 1;
}

.overflow {
  overflow: hidden;
  _zoom: 1;
}

.clear {
  clear: both;
  height: 0;
  font-size: 0;
  overflow: hidden;
}

.scrollbar-class {
  &::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background: transparent;
  }

  &::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 4px;
  }

  &:hover::-webkit-scrollbar-thumb {
    background: hsla(0, 0%, 53%, 0.4);
  }

  &:hover::-webkit-scrollbar-track {
    background: hsla(0, 0%, 53%, 0.1);
  }
}

.text-overflow-oneLine {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.flex {
  display: flex;
}
.align {
  align-items: center;
}
.flex-direction {
  flex-direction: column;
}
.justify-content {
  justify-content: center;
}
.space-between {
  justify-content: space-between;
}
.space-around {
  justify-content: space-around;
}

/* .mt-4{
  margin-top: 4px;
}
.mt-8{
  margin-top: 8px;
}
.mt-12{
  margin-top: 12px;
}
.mt-16{
  margin-top: 16px;
}
.mt-24{
  margin-top: 24px;
}
.mt-28{
  margin-top: 28px;
}
.mt-32{
  margin-top: 32px;
}
.mt-36{
  margin-top: 36px;
}
.mt-40{
  margin-top: 40px;
}
.mt-48{
  margin-top: 48px;
}
.mb-16{
  margin-bottom: 16px;
}
.mb-24{
  margin-bottom: 16px;
}
.ml-4{
  margin-left: 4px;
}
.ml-8{
  margin-left: 4px;
}
.ml-24{
  margin-left: 4px;
}
.pr-16{
  padding-right: 16px;
}
.pl-40{
  padding-right: 40px;
} */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"] {
-moz-appearance: textfield;
}
.unselectable {
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none;    /* Firefox 2+ */
  -ms-user-select: none;     /* IE 10+ */
  user-select: none;         /* 标准语法 */
}
